#pragma once
#include <string>
#include <vector>
using std::string;
using std::vector;

//Rss解析项
struct RssItem
{
    string title;
    string link;
    string content;
};

//XML文件处理类
class FileProcessor{
public:
    FileProcessor(const vector<string> &xmls);
    ~FileProcessor();
    void parseRss();
    vector<string> dump();
    void print();
private:
    vector<string> _xmls;
    vector<RssItem> _items;
};

